/**
 * $Revision: 1.0 $
 * $Author: Geln Yang $
 * $Date: Jun 16, 2010 4:33:00 PM $
 *
 * Author: Geln Yang
 * Date  : Jun 16, 2010 4:33:00 PM
 *
 */
package com.gooex.domain.common;

import java.io.Serializable;
import java.util.Date;

/**
 * @author Geln Yang
 * @version 1.0
 */
public class AppMessage implements Serializable {

	public static final String FROM_SYSTEM = "0";

	private String id;

	private Date date;

	private String from = FROM_SYSTEM;

	private String to;

	private String subject;

	private String content;

	private boolean read = false;

	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public String getFrom() {
		return from;
	}

	public void setFrom(String from) {
		this.from = from;
	}

	public String getTo() {
		return to;
	}

	public void setTo(String to) {
		this.to = to;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public boolean isRead() {
		return read;
	}

	public void setRead(boolean read) {
		this.read = read;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getSubject() {
		return subject;
	}

	public void setSubject(String subject) {
		this.subject = subject;
	}

}
